package com.papper.common.service.base;

import com.papper.common.bean.base.BaseDatabaseConfig;
import com.papper.common.mapper.base.BaseDatabaseConfigMapper;
import com.papper.common.service.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author:LaJiao
 * @Date:2022-03-29 10:06:49
 * @Description:系统数据库管理
 */
@Service("baseDatabaseConfigService")
public class BaseDatabaseConfigService extends ServiceImpl<BaseDatabaseConfigMapper, BaseDatabaseConfig> {

    public List<String> getTableColumns(String dbspace, String tableName) {
        return getPapperMapper().getTableColumns(dbspace, tableName);
    }
}
